//
//  MYNewsDetailsActionTitleCell.swift
//  MuYing
//
//  Created by tbb on 2019/8/6.
//  Copyright © 2019 TBB. All rights reserved.
//

import UIKit

class MYNewsDetailsActionTitleCell: MYNewsDetailsTitleBaseCell {
    
    @objc lazy var titleLb: UILabel = {
        let titleLb = UILabel();
        titleLb.font = UIFont.systemFont(ofSize: 17, weight: .medium);
        titleLb.textColor = UIColorFromHex(rgbValue: 0x414141);
        titleLb.textAlignment = .left;
        titleLb.text = "---";
        return titleLb;
    }()
    
    @objc lazy var enNameLb: UILabel = {
        let titleLb = UILabel();
        titleLb.font = UIFont.systemFont(ofSize: 12, weight: .medium);
        titleLb.textColor = UIColorFromHex(rgbValue: 0xA0A0A0);
        titleLb.textAlignment = .left;
        titleLb.text = " ";
        return titleLb;
    }()
    
    override func layoutSubviews() {
        super.layoutSubviews();
        self.contentView.addSubview(self.titleLb);
        self.titleLb.mas_makeConstraints { (make) in
            make?.left.mas_equalTo()(12);
            make?.top.mas_equalTo()(12);
            make?.height.mas_equalTo()(24);
            make?.right.mas_equalTo()(-12);
        };
        
        self.contentView.addSubview(self.enNameLb)
        self.enNameLb.mas_makeConstraints { (make) in
            make?.left.mas_equalTo()(12);
            make?.height.mas_equalTo()(17);
            make?.top.mas_equalTo()(self.titleLb.mas_bottom)?.mas_equalTo()(0);
        };
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
    }

}
